package com.yhp.mapper;

import com.yhp.pojo.Category;
import com.yhp.utilmapper.MyMapper;
import com.yhp.vo.CategoryVO;
import com.yhp.vo.ItemVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

//自定义的分类mapper
public interface CategoryMapperCustom  {
    //根据父id查询子分类
    public List<CategoryVO> getSubCats(Integer rootId);
    //查询六个推荐商品
    public List<ItemVO>  getSix(@Param("paramMap") Map map);
}